package com.zhj.process.common.service;

/**
 * 抽象服务
 */
public abstract class AbstractProcessService<T> implements ProcessService<T> {

    /** Service */
    private final T service;

    /**
     * Abstract process service
     *
     * @param service service
     * @since 1.0.0
     */
    public AbstractProcessService(T service) {
        this.service = service;
    }

    /**
     * Gets service *
     *
     * @return the service
     * @since 1.0.0
     */
    @Override
    public T getService() {
        return this.service;
    }
}
